package com.example.demo;

import com.example.demo.bean.User;
import com.example.demo.mapper.UserMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.List;

@MapperScan(basePackages ="com.example.demo.mapper")
@SpringBootApplication
public class Demo5Application {

    public static void main(String[] args) {

        SpringApplication.run(Demo5Application.class, args);
    }
}
